package com.gp.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Date 2024/4/26 10:40
 * @Author BigPotato743
 * @Email 2764826228@qq.com
 * @Phone 17623386574
 */
@Data
public class SDeviceElectric {

    //采集时间
    @ExcelProperty("ts")
    private String ts;
    //采集到的值 value
    @ExcelProperty("dte")
    private String dte;
    //电流
    @ExcelProperty("c")
    private String c;
    //A相电流
    @ExcelProperty("c_a")
    private String c_a;
    //A相电流
    @ExcelProperty("c_b")
    private String c_b;
    //电压
    @ExcelProperty("v")
    private String v;
    //A相电压
    @ExcelProperty("v_a")
    private String v_a;
    //B相电压
    @ExcelProperty("v_b")
    private String v_b;
    //功率
    @ExcelProperty("p")
    private String p;
    //A相功率
    @ExcelProperty("p_a")
    private String p_a;
    //B相功率
    @ExcelProperty("p_b")
    private String p_b;
    //功率因数
    @ExcelProperty("p_f")
    private String p_f;


//    {   //采集时间
//        @ExcelProperty("ts")
//        private String ts;
//
////    @ExcelProperty("dts")
////    private String dts;
//
////    @ExcelProperty("t_e")
////    private String t_e;
//
//        //采集到的值 value
//        @ExcelProperty("dte")
//        private String dte;
//        //
////    @ExcelProperty("nt_e")
////    private String nt_e;
////
////    @ExcelProperty("ndte")
////    private String ndte;
////
//        //电流
//        @ExcelProperty("c")
//        private String c;
//        //A相电流
//        @ExcelProperty("c_a")
//        private String c_a;
//        //A相电流
//        @ExcelProperty("c_b")
//        private String c_b;
//        //
////    @ExcelProperty("c_c")
////    private String c_c;
////
////    @ExcelProperty("c_l")
////    private String c_l;
////
////    @ExcelProperty("c_z")
////    private String c_z;
////
//        //电压
//        @ExcelProperty("v")
//        private String v;
//        //A相电压
//        @ExcelProperty("v_a")
//        private String v_a;
//        //B相电压
//        @ExcelProperty("v_b")
//        private String v_b;
//
//
//        //
////    @ExcelProperty("v_c")
////    private String v_c;
////
////    @ExcelProperty("p")
////    private String p;
////
//        //功率
//        @ExcelProperty("p")
//        private String p;
//        //A相功率
//        @ExcelProperty("p_a")
//        private String p_a;
//        //B相功率
//        @ExcelProperty("p_b")
//        private String p_b;
////
////    @ExcelProperty("p_c")
////    private String p_c;
////
////    @ExcelProperty("np")
////    private String np;
////
////    @ExcelProperty("np_a")
////    private String np_a;
////
////    @ExcelProperty("np_b")
////    private String np_b;
////
////    @ExcelProperty("np_c")
////    private String np_c;
////
////    @ExcelProperty("p_f_a")
////    private String p_f_a;
////
////    @ExcelProperty("p_f_b")
////    private String p_f_b;
////
////    @ExcelProperty("p_f_c")
////    private String p_f_c;
////
////    @ExcelProperty("optimized")
////    private String optimized;
//        //功率因数
//        @ExcelProperty("p_f")
//        private String p_f;
////
////    @ExcelProperty("device_id")
////    private String device_id;
////
////    @ExcelProperty("room_id")
////    private String room_id;
//    }

}
